package edu.gatech.doi.spamframework.model;

import java.util.ArrayList;
import java.util.Date;

public class Message {

	/**
	 * Identifies the application that generated this message
	 */
	private String appurl;
	/**
	 * The main text of the message
	 */
	private String body;
	/**
	 * The main text of the message as a message template
	 */
	private String bodyid;
	/**
	 * identifies the messages collection IDs this message is contained in
	 */
	private ArrayList collectionids;
	/**
	 * unique ID for this message
	 */
	private String id;
	/**
	 * Message ID, use for threaded comments/message
	 */
	private String inreplyto;
	/**
	 * Array of person IDs
	 */
	private ArrayList recipients;
	/**
	 * array of message ids
	 */
	private ArrayList replies;
	/**
	 * id of person who sent the message
	 */
	private String senderid;
	/**
	 * status of the message(new,read,deleted)
	 */
	private String status;
	/**
	 * UTC time message was sent
	 */
	private Date timesent;
	/**
	 * the title of the message
	 */
	private String title;
	/**
	 * the title of the message as a message template
	 */
	private String titleid;
	/**
	 * the title of the message
	 */
	private String type;
	/**
	 * list of related URLs for this message
	 */
	private ArrayList urls;
	
	
	public Message()
	{
		
	}
	
	public Message(String file)
	{
		
	}
	
	public String getAppurl() {
		return appurl;
	}
	public void setAppurl(String appurl) {
		this.appurl = appurl;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getBodyid() {
		return bodyid;
	}
	public void setBodyid(String bodyid) {
		this.bodyid = bodyid;
	}
	public ArrayList getCollectionids() {
		return collectionids;
	}
	public void setCollectionids(ArrayList collectionids) {
		this.collectionids = collectionids;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getInreplyto() {
		return inreplyto;
	}
	public void setInreplyto(String inreplyto) {
		this.inreplyto = inreplyto;
	}
	public ArrayList getRecipients() {
		return recipients;
	}
	public void setRecipients(ArrayList recipients) {
		this.recipients = recipients;
	}
	public ArrayList getReplies() {
		return replies;
	}
	public void setReplies(ArrayList replies) {
		this.replies = replies;
	}
	public String getSenderid() {
		return senderid;
	}
	public void setSenderid(String senderid) {
		this.senderid = senderid;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getTimesent() {
		return timesent;
	}
	public void setTimesent(Date timesent) {
		this.timesent = timesent;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getTitleid() {
		return titleid;
	}
	public void setTitleid(String titleid) {
		this.titleid = titleid;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public ArrayList getUrls() {
		return urls;
	}
	public void setUrls(ArrayList urls) {
		this.urls = urls;
	}
	
}
